﻿using System.Collections.Generic;

namespace AutoCAD_CSharp_plug_in3.Chap02
{
    public static class PzParamConfig
    {
        private static List<PzParam> InitPzParams()
        {
            List<PzParam> pzParams = new List<PzParam>()
            {
                // 80L 单排
                new PzParam(80, 0, 1, 1, 400, 470),
                new PzParam(80, 0, 2, 2, 400, 790),
                new PzParam(80, 0, 3, 3, 400, 1110),
                new PzParam(80, 0, 4, 4, 400, 1430),
                new PzParam(80, 0, 5, 5, 400, 1750),


                // 80L 双排
                new PzParam(80, 1, 1, 1, 650, 470),
                new PzParam(80, 1, 2, 1, 650, 470),
                new PzParam(80, 1, 3, 2, 650, 790),
                new PzParam(80, 1, 4, 2, 650, 790),
                new PzParam(80, 1, 5, 3, 650, 1110),
                new PzParam(80, 1, 6, 3, 650, 1110),
                new PzParam(80, 1, 7, 4, 650, 1430),
                new PzParam(80, 1, 8, 4, 650, 1430),
                new PzParam(80, 1, 9, 5, 650, 1750),
                new PzParam(80, 1, 10, 5, 650, 1750),


                // 90L 单排
                new PzParam(90, 0, 1, 1, 400, 510),
                new PzParam(90, 0, 2, 2, 400, 870),
                new PzParam(90, 0, 3, 3, 400, 1230),
                new PzParam(90, 0, 4, 4, 400, 1590),
                new PzParam(90, 0, 5, 5, 400, 1950),

                // 90L 双排
                new PzParam(90, 1, 1, 1, 750, 510),
                new PzParam(90, 1, 2, 1, 750, 510),
                new PzParam(90, 1, 3, 2, 750, 870),
                new PzParam(90, 1, 4, 2, 750, 870),
                new PzParam(90, 1, 5, 3, 750, 1230),
                new PzParam(90, 1, 6, 3, 750, 1230),
                new PzParam(90, 1, 7, 4, 750, 1590),
                new PzParam(90, 1, 8, 4, 750, 1590),
                new PzParam(90, 1, 9, 5, 750, 1950),
                new PzParam(90, 1, 10, 5, 750, 1950),
            };
            return pzParams;
        }

        /// <summary>
        /// 获取所有钢瓶参数配置
        /// </summary>
        public static List<PzParam> GetConfigs()
        {
            return InitPzParams();
        }
    }
}